﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VM.Entity.EntityMap
{
    ///<summary>
    ///用户
    ///</summary>
    public class UserInfo
    {
        [SqlSugar.SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string? UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string? PassWord { get; set; }

        /// <summary>
        /// 年龄
        /// </summary>
        public int Age { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public int SexType { get; set; }

        /// <summary>
        /// 身份证号码
        /// </summary>
        public string? IdNumber { get; set; }

        /// <summary>
        /// 现居住地
        /// </summary>
        public string? CurrentAddress { get; set; }

        /// <summary>
        /// 家庭住址
        /// </summary>
        public string? HomeAddress { get; set; }

        /// <summary>
        /// 入职时间
        /// </summary>
        public DateTime? EntryTime { get; set; }

        /// <summary>
        /// 离职时间
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public DateTime? DepartTime { get; set; }

        /// <summary>
        /// 在职状态
        /// </summary>
        public int JobStatus { get; set; }
    }
}
